<{include file="admin/public/header.tpl"}>
		<div id="main">
			<div class="head-dark-box">
				<div class="tit">系统管理>用户管理>修改用户</div>
			</div>	
		    <{ include file="admin/public/title.tpl" }>
		    <form  method="post" action="admin.php?m=user&a=update">
			<div class="msg-box">
				<ul class="viewmess">
				<input type="hidden" name="id" value="<{$post.id}>">	
					<li class="light-row">
						<span class="col_width">用户名&nbsp;&nbsp;&nbsp;<span class="red_font">*</span></span>
						<input name="userName" type="text"  value="<{ $post.userName }>" class="text-box">
						可以使用中文，但禁止除[@][.]以外的特殊符号
					</li>
					<li class="dark-row">
						<span class="col_width">修改密码<span class="red_font"></span></span>
						<input name="userPwd" type="password"   class="text-box">
						如果不修改密码可以不输入
					</li>
					<li class="light-row">
						<span class="col_width">确认密码<span class="red_font"></span></span>
						<input name="userpwdok" type="password"  size="20" class="text-box">
					</li>
					<li class="dark-row">
						<span class="col_width">电子邮件<span class="red_font">*</span></span>
						<input name="email" type="text"  value="<{ $post.email }>" class="text-box">
						请正确添写你的电子邮件地址
					</li>	

					<li class="light-row">
						<span class="col_width">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别</span>
						<input type="radio" name="sex" <{$male}>  value="1"> 男 &nbsp;
        					<input type="radio" name="sex" <{$female}> value="-1"> 女 &nbsp;
         					<input name="sex" type="radio" <{$secret}> value="0"> 保密 
					</li>
					<{if $post.id ne 1}>
					<li class="dark-row">
						<span class="col_width">设置权限</span>
						<input type="checkbox" name="disable" <{$disable}> value="1"> 禁用该用户 &nbsp;
						<input type="checkbox" name="allow_dlht" <{$dlht}> value="1"> 登录后台 &nbsp;
						<input type="checkbox" name="allow_fbpl" <{$fbpl}>  value="1"> 发表评论 &nbsp;
				
        					
					</li>
					<{/if}>
				
					<li class="light-row">
						<span class="col_width"> &nbsp; </span>
						<input type="submit" class="button"  value="修 改">&nbsp;&nbsp;
						<input type="reset" class="button" value="重 置">
					</li>
				</ul>	
			</div>
                    </form>	
		</div>
<div id="timer">
	<p><span class="exetime">当前脚本执行用时</span><span class="red_font"><{ $timer }></span>秒&nbsp;</p>	
</div>
<{include file="admin/public/footer.tpl"}>	


